<!DOCTYPE html>
<html>
<head>
    <title>Pacman Game</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            text-align: center;
            background-color: #f0f0f0;
        }
        canvas {
            border: 1px solid black;
            display: block;
            margin: 0 auto;
        }
        .ui-container {
            margin: 20px;
            font-size: 18px;
            font-weight: bold;
        }
        .ui-container div {
            margin: 5px 0;
        }
        .heart-icon {
            font-size: 20px;
            color: red;
        }
    </style>
</head>
<body>
    <div class="ui-container">
        <div id="timer">Time: 120s</div>
        <div id="lives-container">
            <span id="lives">Lives: </span>
        </div>
        <div id="eaten-dots">Eaten Dots: 0</div> <!-- 添加吃掉的豆子数量 -->
    </div>

    <canvas id="game-canvas" width="800" height="800"></canvas>
    <script src="/static/js/game.js"></script>
</body>
</html>